package cz.mendelu.swi2.spravaProjektu;

import java.util.List;

/**
 * Entita pro informace o projektu.
 * @author kuba
 * 
 */
public class Project {
	
	private Long id;
	private String name;
	private String description;
	private ProjectState state;
	private SVNRepository repository;
	private IRobot robot;
	private RobotConfiguration robotConfiguration;
	private List<IUser> students;
	
	public Long getId() {
		return id;
	}
	
	public void setId(Long id) {
		this.id = id;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getDescription() {
		return description;
	}
	
	public void setDescription(String description) {
		this.description = description;
	}

	public ProjectState getState() {
		return state;
	}

	public void setState(ProjectState state) {
		this.state = state;
	}

	public SVNRepository getRepository() {
		return repository;
	}

	public void setRepository(SVNRepository repository) {
		this.repository = repository;
	}

	public IRobot getRobot() {
		return robot;
	}

	public void setRobot(IRobot robot) {
		this.robot = robot;
	}

	public RobotConfiguration getRobotConfiguration() {
		return robotConfiguration;
	}

	public void setRobotConfiguration(RobotConfiguration robotConfiguration) {
		this.robotConfiguration = robotConfiguration;
	}

	public List<IUser> getStudents() {
		return students;
	}

	// TODO zvazit zda tuto metodu nenahradit metodou addStudent(IUser user)
	public void setStudents(List<IUser> students) {
		this.students = students;
	}
	
}
